﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.FrameEntity
{
    public class OperateModel
    {
        /// <summary>
        /// 对象数据模型
        /// </summary>
        public object Data { get; set; }
        /// <summary>
        /// 操作类型
        /// </summary>
        public OperateType Types { get; set; }
        /// <summary>
        /// 条件字段字符串(仅在修改时使用；字段名用英文逗号隔开)
        /// </summary>
        public string Conditions { get; set; }
        /// <summary>
        /// 操作类枚举
        /// </summary>
        public enum OperateType
        {
            Add, Edit, Delete
        }
    }
}
